package com.docker.apps.afterservice.di;

import com.docker.apps.afterservice.api.AfterService;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

@Module(includes = {AfterServiceUIModule.class, AfterServiceVmModule.class})
public class AfterServiceModule {
    @Singleton
    @Provides
    AfterService provideAfterService(Retrofit retrofit) {
        return retrofit.create(AfterService.class);
    }

}
